home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / var / lib / dpkg / info / file-roller.postinst < prev    next >
Encoding:
Text File  |  2007-04-09  |  1.5 KB  |  43 lines

  1. #!/bin/sh
  2. set -e
  3. # Automatically added by dh_installmenu
  4. if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ]; then
  5.     update-menus
  6. fi
  7. # End automatically added section
  8. # Automatically added by dh_installmime
  9. if [ "$1" = "configure" ] && [ -x "`which update-mime 2>/dev/null`" ]; then
  10.     update-mime
  11. fi
  12. # End automatically added section
  13. # Automatically added by dh_scrollkeeper
  14. if [ "$1" = "configure" ] && which scrollkeeper-update >/dev/null 2>&1; then
  15.     scrollkeeper-update -q >/dev/null 2>&1
  16. fi
  17. # End automatically added section
  18. # Automatically added by dh_gconf
  19. if [ "$1" = "configure" ]; then
  20.     gconf-schemas --register file-roller.schemas 
  21. fi
  22. # End automatically added section
  23. # Automatically added by dh_desktop
  24. if [ "$1" = "configure" ] && which update-desktop-database >/dev/null 2>&1 ; then
  25.     update-desktop-database -q
  26. fi
  27. # End automatically added section
  28. # Automatically added by dh_iconcache
  29. touch -m /usr/share/icons/hicolor
  30. if [ "$1" = configure ] && \
  31.    [ -x "`which gtk-update-icon-cache 2>/dev/null`" ] && \
  32.    [ -f /etc/gtk-2.0/gdk-pixbuf.loaders ] && \
  33.    [ "`find /usr/share/icons/hicolor -mindepth 1 -maxdepth 1 -type d | wc -l`" -gt 0 ] && \
  34.    [ "`find /usr/share/icons/hicolor -mindepth 1 -maxdepth 1 -type f -name index.theme | wc -l`" -eq 1 ]; then
  35.     gtk-update-icon-cache -q /usr/share/icons/hicolor
  36. fi
  37. # End automatically added section
  38. # Automatically added by dh_installmime
  39. if [ "$1" = "configure" ] && [ -x "`which update-mime 2>/dev/null`" ]; then
  40.     update-mime
  41. fi
  42. # End automatically added section
  43.